remove characters from a data frame